A5.chart.u.htmltext Method
Syntax
Description
The html text method is used to draw text on the chart.
Properties
- htmlstring
The HTML for the text.
- positionarrayobject
The position of the text. See A5.u.html.notation "position" argument.
- layoutSettingsobject
The layout settings of the text. See A5.u.html.notation "settings" argument.
- drawSettingsobject
The draw settings for the text. This is a very limited subset of the A5.chart Definition Label Object, though a full label definition can be passed in.
- offsetobject
The offset of the text.
- axisnumber
In "polar" and "radial" charts, the offset relative to the center of the chart.
- majornumber
The major offset relative to the axis. The default value is 0.
- minornumber
The minor offset relative to the axis. The default value is 0.
- outlineboolean
If true then the text will be outlined to make it more readable over unknown backgrounds.
- colorstringfunction(data,temp)
The color of the text element. A value of "default" will use the palette default text color. A function called with "data" (see A5.chart Render Data Object) and "temp" can be used to dynamically calculate the class name.
- classNamestringfunction(data,temp)
The class name to add to the text element. A function called with "data" (see A5.chart Render Data Object) and "temp" can be used to dynamically calculate the class name.
- stylestringfunction(data,temp)
The CSS style to add to the text element. A function called with "data" (see A5.chart Render Data Object) and "temp" can be used to dynamically calculate the style.
- attrsstringfunction(data,temp)
The attributes to add to the text element. A function called with "data" (see A5.chart Render Data Object) and "temp" can be used to dynamically calculate the attributes.
- tipstringfunction(data,temp)
The mouseover tip to add to the text element. A function called with "data" (see A5.chart Render Data Object) and "temp" can be used to dynamically calculate the tip.
- pointerEventsstringfunction(data,temp)
If true (the default) then pointer events will be allowed. A function called with "data" (see A5.chart Render Data Object) and "temp" can be used to dynamically calculate the tip.
- dataobject
The chart data. See A5.chart Render Data Object.
- tempobject
The temporary object.
- settingsobject
The top level chart settings.